<?php
class classSessions{
	private $sSessionName='';
	
	public function open($csSessionName){
		$this->sSessionName = $csSessionName;
		
		if($_SESSION[_SESS_PREFIX_.$csSessionName]!='')
			return $_SESSION[_SESS_PREFIX_.$csSessionName];
		else
			return '';
	}

	public function serializeIt($sSessionValue){
		$_SESSION[_SESS_PREFIX_.$this->sSessionName] = $sSessionValue;
		return _SESS_PREFIX_.$this->sSessionName.'>>>'.$sSessionValue;
	}	
}
	
?>